package com.yaowk.sfp.system.server.service;

import com.yaowk.sfp.common.base.IBaseService;
import com.yaowk.sfp.system.api.model.User;

import java.util.List;

public interface IUserService extends IBaseService<User, Long> {

    List<Long> findPermissionsByUserId(Long id);

    User findByUsername(String s);

    void roleEdit(Long userId, List<Long> roleId);
}